package com.pan.admin.quartz.task;

import com.pan.admin.quartz.service.LowBalanceNoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 低余额通知任务调度
 *
 * @author 李源聪
 */
@Component("lowBalanceNoticeTask")
public class LowBalanceNoticeTask {

    @Autowired
    private LowBalanceNoticeService lowBalanceNoticeService;

    /**
     * 低余额通知
     */
    public void lowBalanceNotice(){
        this.lowBalanceNoticeService.lowBalanceNotice();
    }
}
